<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

<head>
    <title th:text="${pageTitle}"></title>
    <div data-th-replace="layout/head-top"></div>
    <link rel="stylesheet" type="text/css" th:href="@{{path}/common/v3/summernote/summernote-bs3.css?v={v}(path=${staticPath},v=${v})}"/>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInLeft">
    <div data-th-replace="common/functionDepict"></div>
    <div class="row">
        <form id="sysConfigForm">
            <div class="col-sm-9">
                <div th:if="${sysConfig['configType']}=='SALE'" class="float-e-margins">

                    <div class="ibox-title">
                        <h5>售卖方式配置</h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="alert alert-warning alert-dismissable ">
                            <strong>重要提示：</strong>
                            <p>1、平台售卖方式，包含 普通售卖、会员售卖、组合售卖 这三种形式，默认为第一种，即：普通售卖</p>
                            <p>2、普通售卖：即平台前端展示所有可售卖商品以实销价单价进行在线购买。</p>
                            <p>3、会员售卖：即平台前端展示所有的会员类商品（必须为会员类商品）当用户身份为平台有效期会员时，即可免费学习此会员权益下的所有商品。（当非会员类商品时将以普通售卖方式购买）。</p>
                            <p>4、组合售卖：即平台前端展示所有可售卖商品以普通售卖+会员折扣的方式进行组合售卖。</p>
                            <p class="c-red">5、在正式运营后，不应当随意修改此配置，应以大运营周期内以运营效果和运营数据做支撑，进而调整平台的售卖方式！非常不建议频繁修改，因关联较多，此处配置非常重要，随意修改会影响整个平台前端商品的售卖和新老用户的各类数据！！！</p>
                        </div>
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">普通售卖</label>
                                <div class="col-sm-6">
                                    <div class="radio i-checks">
                                        <label style="padding-left: 0">
                                            <input type="radio" th:checked="${sysConfig['contextTreeMap']['selaSwitch']}==1" value="1" name="selaSwitch"> <i></i> -即平台前端展示所有可售卖商品以实销价单价进行在线购买
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">会员售卖</label>
                                <div class="col-sm-6">
                                    <div class="radio i-checks">
                                        <label style="padding-left: 0">
                                            <input type="radio" th:checked="${sysConfig['contextTreeMap']['selaSwitch']}==2" value="2" name="selaSwitch"> <i></i> -即平台前端展示所有的会员类商品（必须为会员类商品）当用户身份为平台有效期会员时，即可免费学习此会员权益下的所有商品。（当非会员类商品时将以普通售卖方式购买）
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">组合售卖</label>
                                <div class="col-sm-6">
                                    <div class="radio i-checks">
                                        <label style="padding-left: 0">
                                            <input type="radio" th:checked="${sysConfig['contextTreeMap']['selaSwitch']}==3" value="3" name="selaSwitch"> <i></i> -即平台前端展示所有可售卖商品以普通售卖+会员折扣的方式进行组合售卖
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='LOGO'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>修改LOGO配置<small class="m-l-sm">对系统平台的logo图片的维护</small></h5>
                    </div>
                    <div class="ibox-content">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red">*</i> 上传LOGO图片文件</label>
                                <div class="col-sm-9">
                                    <p>
                                        <button class="btn btn-primary " id="logoImgFile" type="button">
                                            <i class="fa fa-file-excel-o"></i> &nbsp;请选择LOGO图片
                                        </button>
                                        <span class="ml10">
                                                <small class="fs12 c-red">
                                                    <i class="fa fa-lightbulb-o"></i> 请选择LOGO图片(140px * 84px)
                                                </small>
                                            </span>
                                    </p>
                                    <p th:class="${#maps.isEmpty(sysConfig['contextTreeMap'])} ?'hide':''">
                                        <img id="logo-img" th:src="!${#maps.isEmpty(sysConfig['contextTreeMap'])}?${sysConfig['contextTreeMap']['url']}:''"/>
                                        <input type="hidden" id="logoUrl" name="url" th:value="!${#maps.isEmpty(sysConfig['contextTreeMap'])}?${sysConfig['contextTreeMap']['url']}:''"/>
                                    </p>
                                    <div class="pt10 c-red">主要用于pc端导航栏的logo</div>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red">*</i> 上传LOGO图片文件</label>
                                <div class="col-sm-9">
                                    <p>
                                        <button class="btn btn-primary " id="logoImgFileSecond" type="button">
                                            <i class="fa fa-file-excel-o"></i> &nbsp;请选择LOGO图片
                                        </button>
                                        <span class="ml10">
                                                <small class="fs12 c-red">
                                                    <i class="fa fa-lightbulb-o"></i> 请选择LOGO图片(128px * 128px)
                                                </small>
                                            </span>
                                    </p>
                                    <p th:class="${#maps.isEmpty(sysConfig['contextTreeMap'])} ?'hide':''">
                                        <img id="logo-second-img" th:src="!${#maps.isEmpty(sysConfig['contextTreeMap'])}?${sysConfig['contextTreeMap']['urlSecond']}:''"/>
                                        <input type="hidden" id="logoUrlSecond" name="urlSecond" th:value="!${#maps.isEmpty(sysConfig['contextTreeMap'])}?${sysConfig['contextTreeMap']['urlSecond']}:''"/>
                                    </p>
                                    <div class="pt10 c-red">用于h5下载和关于我们的logo</div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='ICO'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>修改ICO配置<small class="m-l-sm">对系统平台的ico图片的维护</small></h5>
                    </div>
                    <div class="ibox-content">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red">*</i> 上传ICO图片文件</label>
                                <div class="col-sm-9">
                                    <p>
                                        <button class="btn btn-primary " id="icoDocuFileBtn" type="button">
                                            <i class="fa fa-file-excel-o"></i> &nbsp;请选择ico图片
                                        </button>
                                        <span class="ml10">
                                                <small class="fs12 c-red">
                                                    <i class="fa fa-lightbulb-o"></i> 请选择ico图片
                                                </small>
                                            </span>
                                    </p>
                                    <p th:class="${#maps.isEmpty(sysConfig['contextTreeMap'])} ?'hide':''">
                                        <img id="ico-img" th:src="!${#maps.isEmpty(sysConfig['contextTreeMap'])}?${sysConfig['contextTreeMap']['url']}:''"/>
                                        <input type="hidden" id="icoUrl" name="url" th:value="!${#maps.isEmpty(sysConfig['contextTreeMap'])}?${sysConfig['contextTreeMap']['url']}:''"/>
                                    </p>
                                    <div class="pt10"></div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='INFO'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>网站信息配置 <small class="m-l-sm">网站基础数据配置</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 网站title(网站头部)</label>
                                <div class="col-sm-6">
                                    <input type="text" name="title" th:value="${sysConfig['contextTreeMap']['title']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> APP名称</label>
                                <div class="col-sm-6">
                                    <input type="text" name="appName" th:value="${sysConfig['contextTreeMap']['appName']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 标语</label>
                                <div class="col-sm-6">
                                    <input type="text" name="tagline" th:value="${sysConfig['contextTreeMap']['tagline']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 运营机构名</label>
                                <div class="col-sm-6">
                                    <input type="text" name="company" th:value="${sysConfig['contextTreeMap']['company']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 网站作者</label>
                                <div class="col-sm-6">
                                    <input type="text" name="author" th:value="${sysConfig['contextTreeMap']['author']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 网站关键词</label>
                                <div class="col-sm-6">
                                    <input type="text" name="keywords" th:value="${sysConfig['contextTreeMap']['keywords']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 网站描述信息</label>
                                <div class="col-sm-6">
                                    <input type="text" name="description" th:value="${sysConfig['contextTreeMap']['description']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 工作邮箱</label>
                                <div class="col-sm-6">
                                    <input type="text" name="email" th:value="${sysConfig['contextTreeMap']['email']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 热线电话</label>
                                <div class="col-sm-6">
                                    <input type="text" name="phone" th:value="${sysConfig['contextTreeMap']['phone']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 工作时间</label>
                                <div class="col-sm-6">
                                    <input type="text" name="workTime" th:value="${sysConfig['contextTreeMap']['workTime']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 版权以及备案号(网站底部)</label>
                                <div class="col-sm-10">
                                    <div class="input-group">
                                        <input type="text" class="form-control _copyright1"  placeholder="请填写备案时间，如©2010" name="copyright1" th:value="${sysConfig['contextTreeMap']['copyright1']}">
                                        <span class="input-group-addon">{year}</span>
                                        <input type="text" class="form-control _copyright2"   placeholder="请填写备案公司，如北京易知路科技有限公司版权所有"  name="copyright2" th:value="${sysConfig['contextTreeMap']['copyright2']}">
                                        <input type="text" class="form-control _copyright3"  placeholder="请填写备案号，如京公网安备11010802011695号" name="copyright3" th:value="${sysConfig['contextTreeMap']['copyright3']}">
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='ONOFF'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>网站开关配置 <small class="m-l-sm">对网站指定功能开关设置与管理</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <!--<div class="alert alert-danger">
                            <section class="row">
                                <section class="col-sm-1 text-right">
                                    <i class="fa fa-warning" style="font-size: 36px;"></i>
                                </section>
                                <section class="col-sm-11">
                                    在正式运营后，不应当随意修改此处部分配置，应以大运营周期内以运营效果和运营数据做支撑，进而调整此处配置！非常不建议频繁修改，因关联较多，此处部分配置非常重要，随意修改会影响整个平台前端新老用户的各类数据！！！
                                </section>
                            </section>
                        </div>-->
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-3 control-label text-right">支付开关</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="paySwitch" th:checked="${sysConfig['contextTreeMap']['paySwitch']}=='ON'" type="checkbox" class="onoffswitch-checkbox" id="example1">
                                                <label class="onoffswitch-label" for="example1">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启平台中的支付功能</small>
                                                </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label text-right">登录开关</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="loginSwitch" th:checked="${sysConfig['contextTreeMap']['loginSwitch']}=='ON'" type="checkbox" class="onoffswitch-checkbox" id="example2">
                                                <label class="onoffswitch-label" for="example2">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启平台中的学员登录功能</small>
                                                </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label text-right">第三方微信登录开关</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="weiXinLoginSwitch" th:checked="${sysConfig['contextTreeMap']['weiXinLoginSwitch']}=='ON'" type="checkbox" class="onoffswitch-checkbox" id="example8">
                                                <label class="onoffswitch-label" for="example8">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启平台中的第三方微信登录功能</small>
                                                </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label text-right">第三方QQ登录开关</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="qqLoginSwitch" th:checked="${sysConfig['contextTreeMap']['qqLoginSwitch']}=='ON'" type="checkbox" class="onoffswitch-checkbox" id="example13">
                                                <label class="onoffswitch-label" for="example13">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启平台中的第三方QQ登录功能</small>
                                                </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label text-right">积分开关</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="integralSwitch" th:checked="${sysConfig['contextTreeMap']['integralSwitch']}=='ON'" type="checkbox" class="onoffswitch-checkbox" id="example3">
                                                <label class="onoffswitch-label" for="example3">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启平台中的获取积分功能</small>
                                                </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label text-right">经验开关</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="experienceSwitch" th:checked="${sysConfig['contextTreeMap']['experienceSwitch']}=='ON'" type="checkbox" class="onoffswitch-checkbox" id="example4">
                                                <label class="onoffswitch-label" for="example4">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启平台中的获取经验功能</small>
                                                </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label text-right">绑定手机号</label>
                                <div class="col-sm-8">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="mobileSwitch" th:checked="${sysConfig['contextTreeMap']['mobileSwitch']}=='ON'" type="checkbox" class="onoffswitch-checkbox" id="example5">
                                                <label class="onoffswitch-label" for="example5">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <div class="alert alert-danger">
                                                <i class="fa fa-warning"></i> 操作“绑定手机号”时请先阅读以下说明：<br><br>
                                                <p>因本平台支持第三方多账号快捷登录（微信、QQ等），手机号做为关联多终端（PC、安卓、IOS、微信H5、小程序）用户ID的唯一标识。做以下几点说明：</p>
                                                <br>1、此开关默认为开启状态，即新用户第三方账号登录后需绑定个人手机号；
                                                <br>2、建议开启的运营场景一：需要多端（PC、安卓、IOS、微信H5、小程序）用户数据同步时；
                                                <br>3、建议开启的运营场景二：期望收集用户手机号等信息时;
                                                <br>4、声明：如多端用户数据未同步时，需定制！
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label text-right">学员定制专业/科目</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="subjectSwitch" th:checked="${sysConfig['contextTreeMap']['subjectSwitch']}=='ON'" type="checkbox" class="onoffswitch-checkbox" id="example6">
                                                <label class="onoffswitch-label" for="example6">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启时 当新用户注册成功后需要定制专属自己的基础专业和科目</small>
                                                </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label text-right">APP下载二维码</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="appDownloadCode" th:checked="${sysConfig['contextTreeMap']['appDownloadCode']}=='ON'" type="checkbox" class="onoffswitch-checkbox" id="example7">
                                                <label class="onoffswitch-label" for="example7">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启平台中前端显示APP下载二维码入口</small>
                                                </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label text-right">微信/H5二维码</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="h5DownloadCode" th:checked="${sysConfig['contextTreeMap']['h5DownloadCode']}=='ON'" type="checkbox" class="onoffswitch-checkbox" id="example9">
                                                <label class="onoffswitch-label" for="example9">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启平台中前端显示微信/H5二维码入口</small>
                                                </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label text-right">微信小程序二维码</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="smallAppDownloadCode" th:checked="${sysConfig['contextTreeMap']['smallAppDownloadCode']}=='ON'" type="checkbox" class="onoffswitch-checkbox" id="example10">
                                                <label class="onoffswitch-label" for="example10">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启平台中前端显示微信小程序二维码入口</small>
                                                </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-3 control-label text-right">H5中APP下载开关</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="h5AppDownloadSwitch" th:checked="${sysConfig['contextTreeMap']['h5AppDownloadSwitch']}=='ON'" type="checkbox" class="onoffswitch-checkbox" id="example11">
                                                <label class="onoffswitch-label" for="example11">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启H5中APP下载</small>
                                                </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-3 control-label text-right">iOS提现开关</label>
                                <div class="col-sm-8">
                                    <div style="margin-top: 5px">
                                        <div class="alert alert-danger">
                                            <span class="c-red"><i class="fa fa-warning"></i> 根据苹果商店平台应用上架政策规范，禁止存在提现相关业务功能。</span>

                                            <a href="https://developer.apple.com/cn/app-store/review/guidelines/#spam">《appStore上架审核指南》</a>
                                            <br><br>
                                            免责声明：
                                            <br>
                                            故系统默认为关闭iOS应用个人账户中提现入口以及推广中心收益提现，如需此提现业务功能。可在上架前关闭此开关，上架后开启。开启后使用iOS提现业务功能，可能会存在
                                            苹果商店警告或应用被强制下架的风险。
                                            <br>
                                            开启此开关操作后产生的任何后果，将与提供该软件服务方无任何责任。
                                            <section class="pt10 checkbox">
                                                <label style="font-weight: bold"><input type="checkbox" id="iosDeal" th:checked="${sysConfig['contextTreeMap']['iosWithdraw']}=='ON'" value="" style="margin-top: 2px">我已阅读，并同意以上申明。</label>
                                            </section>
                                        </div>
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="iosWithdraw" th:checked="${sysConfig['contextTreeMap']['iosWithdraw']}=='ON'" th:disabled="${sysConfig['contextTreeMap']['iosWithdraw']}!='ON' and ${sysConfig['contextTreeMap']['iosIncome']}!='ON'" type="checkbox" class="onoffswitch-checkbox" id="example14">
                                                <label class="onoffswitch-label" for="example14">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>账户提现开关，默认关闭状态，即未开启</span>
                                        </div>
                                        <div class="hr-line-dashed"></div>
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="iosIncome" th:checked="${sysConfig['contextTreeMap']['iosIncome']}=='ON'" th:disabled="${sysConfig['contextTreeMap']['iosWithdraw']}!='ON' and ${sysConfig['contextTreeMap']['iosIncome']}!='ON'" type="checkbox" class="onoffswitch-checkbox" id="example15">
                                                <label class="onoffswitch-label" for="example15">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>推广中心收益提现开关，默认关闭状态，即未开启</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='APP'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>App更新配置 <small class="m-l-sm">App更新数据配置</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> Android 下载路径配置方式
                                </label>
                                <div class="col-sm-6 radio i-checks">
                                    <label>
                                        <input type="radio" value="nativeUrl" name="anUrlRadio" th:checked="${sysConfig['contextTreeMap']['anUrlRadio']}=='nativeUrl'?'true':'false'"><i></i> 本地上传地址
                                    </label>
                                    <label>
                                        <input type="radio" value="appStoreUrl" name="anUrlRadio" th:checked="${sysConfig['contextTreeMap']['anUrlRadio']}=='appStoreUrl'?'true':'false'"><i></i> 第三方商店地址
                                    </label>
                                </div>
                            </div>
                            <div class="hr-line-dashed" th:classappend="${sysConfig['contextTreeMap']['anUrlRadio']}==null?'hide startStatus':''"></div>

                            <div class="form-group appStoreUrl" th:classappend="${sysConfig['contextTreeMap']['anUrlRadio']}=='appStoreUrl'?'':'hide'">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> Android下载路径
                                </label>
                                <div class="col-sm-6">
                                    <input type="text" name="anUrl" class="form-control _anUrl1" th:value="${sysConfig['contextTreeMap']['anUrlRadio']}=='appStoreUrl'?${sysConfig['contextTreeMap']['anUrl']}:''" th:classappend="${sysConfig['contextTreeMap']['anUrlRadio']}=='nativeUrl'?'hide':''" th:disabled="${sysConfig['contextTreeMap']['anUrlRadio']}=='nativeUrl'?true:false"/>
                                    <input type="text" name="anUrl" class="form-control _anUrl2" th:value="${sysConfig['contextTreeMap']['anUrlRadio']}=='nativeUrl'?${sysConfig['contextTreeMap']['anUrl']}:''" th:classappend="${sysConfig['contextTreeMap']['anUrlRadio']}=='appStoreUrl'?'hide':''" th:disabled="${sysConfig['contextTreeMap']['anUrlRadio']}=='appStoreUrl'?true:false"/>
                                    <small class="fs12 c-red">
                                        <i class="fa fa-lightbulb-o"></i> 目前只支持一种主流的第三方应用商店
                                    </small>
                                </div>
                            </div>

                            <div class="form-group nativeUrl" th:classappend="${sysConfig['contextTreeMap']['anUrlRadio']}=='nativeUrl'?'':'hide'">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> Android更新包上传
                                </label>
                                <div class="col-sm-9">
                                    <p>
                                        <button class="btn btn-primary" id="appDUploadBtn" type="button">
                                            <i class="fa fa-file-excel-o"></i> &nbsp;请选择上传的apk
                                        </button>
                                        <span class="ml10">
                                                <small class="fs12 c-red">
                                                    <i class="fa fa-lightbulb-o"></i> 请选择上传的apk
                                                </small>
                                            </span>
                                    </p>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> Android版本号</label>
                                <div class="col-sm-6">
                                    <input type="text" name="anVersion" th:value="${sysConfig['contextTreeMap']['anVersion']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> Android更新描述</label>
                                <div class="col-sm-6">
                                    <input type="text" name="anDepict" th:value="${sysConfig['contextTreeMap']['anDepict']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> IOS更新包下载路径</label>
                                <div class="col-sm-6">
                                    <input type="text" name="iosUrl" th:value="${sysConfig['contextTreeMap']['iosUrl']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> IOS版本号</label>
                                <div class="col-sm-6">
                                    <input type="text" name="iosVersion" th:value="${sysConfig['contextTreeMap']['iosVersion']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> IOS更新描述</label>
                                <div class="col-sm-6">
                                    <input type="text" name="iosDepict" th:value="${sysConfig['contextTreeMap']['iosDepict']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='APPDOW'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>App下载二维码<small class="m-l-sm">App应用二维码图片配置</small></h5>
                    </div>
                    <div class="ibox-content">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red">*</i> 上传App应用下载二维码图片</label>
                                <div class="col-sm-9">
                                    <p>
                                        <button class="btn btn-primary " id="appDowFileBtn" type="button">
                                            <i class="fa fa-file-excel-o"></i> &nbsp;请选择二维码图片
                                        </button>
                                        <span class="ml10">
                                                <small class="fs12 c-red">
                                                    <i class="fa fa-lightbulb-o"></i> 请选择二维码图片
                                                </small>
                                                <small class="fs12 c-red">
                                                    <a href="https://cli.im/" target="_blank">没有二维码图片?点击去生成</a>
                                                </small>
                                            </span>
                                    </p>
                                    <p th:class="${#maps.isEmpty(sysConfig['contextTreeMap'])}?'hide':''">
                                        <img id="app-img" th:src="${sysConfig['contextTreeMap']['url']}"/>
                                        <input type="hidden" id="appUrl" name="url" th:value="${sysConfig['contextTreeMap']['url']}"/>
                                    </p>
                                    <div class="pt10"></div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red">*</i> 填写App应用下载路径</label>
                                <div class="col-sm-6">
                                    <input type="text" name="appHref" th:value="${sysConfig['contextTreeMap']['appHref']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='WECHATSERVICE'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>官方微信公众号二维码<small class="m-l-sm">微信公众号二维码</small></h5>
                    </div>
                    <div class="ibox-content">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">H5官方公众号开关</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input name="serviceSwitch" th:checked="${sysConfig['contextTreeMap']['serviceSwitch']}=='ON'" type="checkbox" class="onoffswitch-checkbox" id="example18">
                                                <label class="onoffswitch-label" for="example18">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启H5个人中心官方微信公众号二维码显示</small>
                                                </span>
                                            <span class="m-l-lg" data-container="body"
                                                  data-html="true"
                                                  data-toggle="popover"
                                                  data-trigger="hover"
                                                  data-placement="bottom"
                                                  th:attrappend="data-content='<img width=260 src='+${staticPath}+'/admin/v3/img/pic/gfEwm-example-1.png />'">
                                                                        <span class="c-master">查看示例</span></span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"> 公众号二维码图片</label>
                                <div class="col-sm-9">
                                    <p>
                                        <button class="btn btn-primary " id="wechatServiceBtn" type="button">
                                            <i class="fa fa-file-excel-o"></i> &nbsp;请选择二维码图片
                                        </button>
                                        <span class="ml10">
                                                <small class="fs12 c-red">
                                                    <i class="fa fa-lightbulb-o"></i> 请选择二维码图片
                                                </small>
                                            </span>
                                    </p>
                                    <p th:class="${#maps.isEmpty(sysConfig['contextTreeMap'])}?'hide':''">
                                        <img id="wechatService-img" th:src="${sysConfig['contextTreeMap']['url']}"/>
                                        <input type="hidden" id="wechatServiceUrl" name="url" th:value="${sysConfig['contextTreeMap']['url']}"/>
                                    </p>
                                    <div class="pt10"></div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='H5AMOBILE'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>H5&微信二维码<small class="m-l-sm">H5&微信二维码配置</small></h5>
                    </div>
                    <div class="ibox-content">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red">* </i>H5&微信二维码图片</label>
                                <div class="col-sm-9">
                                    <p>
                                        <button class="btn btn-primary " id="h5MobileAppDowFileBtn" type="button">
                                            <i class="fa fa-file-excel-o"></i> &nbsp;请选择二维码图片
                                        </button>
                                        <span class="ml10">
                                                <small class="fs12 c-red">
                                                    <i class="fa fa-lightbulb-o"></i> 请选择二维码图片
                                                </small>
                                            </span>
                                    </p>
                                    <p th:class="${#maps.isEmpty(sysConfig['contextTreeMap'])}?'hide':''">
                                        <img id="hMobileImage" th:src="${sysConfig['contextTreeMap']['url']}"/>
                                        <input type="hidden" id="hmUrl" name="url" th:value="${sysConfig['contextTreeMap']['url']}"/>
                                    </p>
                                    <div class="pt10"></div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='SMALLAPP'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>小程序码<small class="m-l-sm">小程序码配置</small></h5>
                    </div>
                    <div class="ibox-content">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red">* </i>小程序码图片</label>
                                <div class="col-sm-9">
                                    <p>
                                        <button class="btn btn-primary " id="smallAppDowFileBtn" type="button">
                                            <i class="fa fa-file-excel-o"></i> &nbsp;请选择小程序码图片
                                        </button>
                                        <span class="ml10">
                                                <small class="fs12 c-red">
                                                    <i class="fa fa-lightbulb-o"></i> 请选择小程序码图片
                                                </small>
                                            </span>
                                    </p>
                                    <p th:class="${#maps.isEmpty(sysConfig['contextTreeMap'])}?'hide':''">
                                        <img id="smallAppImage" th:src="${sysConfig['contextTreeMap']['url']}"/>
                                        <input type="hidden" id="smallAppUrl" name="url" th:value="${sysConfig['contextTreeMap']['url']}"/>
                                    </p>
                                    <div class="pt10"></div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='FREIGHT'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>运费配置 <small class="m-l-sm">配置运费，用于购买实体商品的快递费</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 运费金额</label>
                                <div class="col-sm-6">
                                    <div class="input-group m-b">
                                            <span class="input-group-addon">
                                                <i class="fa fa-rmb"></i>
                                            </span>
                                        <input type="text" name="price" th:value="${sysConfig['contextTreeMap']['price']}" class="form-control"/>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='ATTENT'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>旁听支付分成 <small class="m-l-sm">旁听支付金额分成配置(<samp class="c-red">平台、用户、讲师的分成比例总和必须等于10</samp>)</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 平台分成比例</label>
                                <div class="col-sm-6">
                                    <input type="text" name="sysTerrace" th:value="${sysConfig['contextTreeMap']['sysTerrace']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 用户分成比例</label>
                                <div class="col-sm-6">
                                    <input type="text" name="user" th:value="${sysConfig['contextTreeMap']['user']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 讲师分成比例</label>
                                <div class="col-sm-6">
                                    <input type="text" name="teacher" th:value="${sysConfig['contextTreeMap']['teacher']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='QAREFUND'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>问答自动退费配置</h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 退费时间</label>
                                <div class="col-sm-6">
                                    <input type="text" maxlength="3" max="365" name="refundTime" th:value="${sysConfig['contextTreeMap']['refundTime']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 退费开关</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input type="checkbox" name="refundSwitch" th:checked="${sysConfig['contextTreeMap']['refundSwitch']}=='ON'" checked class="onoffswitch-checkbox" id="qaRefundSwitch">
                                                <label class="onoffswitch-label" for="qaRefundSwitch">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启：开启后平台在指定设置的天后自动退费；OFF=关闭：关闭后不可使用</small>
                                                </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='SMST'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>系统消息模板配置 <small class="m-l-sm">系统消息模板配置</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red"></i> 新用户注册成功</label>
                                <div class="col-sm-9">
                                    <div class="input-group">

                                            <span class="input-group-addon">
                                                登录账号：【{1}】<input type="hidden" name="registerVarNum1" value="登录账号：{1}"/>
                                                注册时间：【{2}】<input type="hidden" name="registerVarNum2" value="注册时间：{2}"/>
                                            </span>
                                        <input type="text" class="form-control" name="registerRemark" th:value="!${#strings.isEmpty(sysConfig['contextTreeMap']['registerRemark'])}?${sysConfig['contextTreeMap']['registerRemark']}:'欢迎您，您已成功注册为平台学员，祝您学习愉快！'" placeholder="此处为模板消息备注信息，可不填写">
                                        <!--
                                    -->
                                    </div>
                                    <div class="mt10 registerMsgType">
                                        通知方式：
                                        <input type="hidden" data-type name="registerMsgType" th:value="${sysConfig['contextTreeMap']['registerMsgType']}"/>
                                        <span class="btn btn-info btn-xs disabled" data-type="site" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['registerMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['registerMsgType'],'site')}">站内消息</span>
                                        <span class="btn btn-primary btn-xs disabled" data-type="wx" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['registerMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['registerMsgType'],'wx')}">微信消息</span>
                                        <!--<span class="btn btn-warning btn-xs disabled">短信消息</span>-->
                                        <a href="javascript:void(0);" th:attrprepend="data-type=${sysConfig['contextTreeMap']['registerMsgType']}" class="m-l update-msg-type-box">修改</a>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red"></i> 订单消息</label>
                                <div class="col-sm-9">
                                    <div class="input-group">
                                            <span class="input-group-addon">
                                                订单编号：【{1}】<input type="hidden" name="orderVarNum1" value="订单编号：{1}"/>
                                                订单金额：【{2}】<input type="hidden" name="orderVarNum2" value="订单金额：{2}"/>
                                            </span>
                                        <input type="text" class="form-control" name="orderRemark" th:value="!${#strings.isEmpty(sysConfig['contextTreeMap']['orderRemark'])}?${sysConfig['contextTreeMap']['orderRemark']}:'订单已经交易成功，您可以在个人中心查看相关信息，祝您学习愉快！'">
                                    </div>
                                    <div class="mt10 orderMsgType">
                                        通知方式：
                                        <input type="hidden" data-type name="orderMsgType" th:value="${sysConfig['contextTreeMap']['orderMsgType']}"/>
                                        <span class="btn btn-info btn-xs disabled" data-type="site" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['orderMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['orderMsgType'],'site')}">站内消息</span>
                                        <span class="btn btn-primary btn-xs disabled" data-type="wx" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['orderMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['orderMsgType'],'wx')}">微信消息</span>
                                        <!--<span class="btn btn-warning btn-xs disabled">短信消息</span>-->
                                        <a href="javascript:void(0);" th:attrprepend="data-type=${sysConfig['contextTreeMap']['orderMsgType']}" class="m-l update-msg-type-box">修改</a>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red"></i> 直播通知</label>
                                <div class="col-sm-9">
                                    <div class="input-group">
                                            <span class="input-group-addon">
                                                用户名：【{1}】<input type="hidden" name="liveVarNum1" value="用户名：{1}"/>
                                                确认时间：【{2}】<input type="hidden" name="liveVarNum2" value="确认时间：{2}"/>
                                            </span>
                                        <input type="text" class="form-control" name="liveRemark" th:value="!${#strings.isEmpty(sysConfig['contextTreeMap']['liveRemark'])}?${sysConfig['contextTreeMap']['liveRemark']}:'还有30分钟开始直播，请做好准备，快去个人中心-我的课程中进入查看'"/>
                                    </div>
                                    <div class="mt10 liveMsgType">
                                        通知方式：
                                        <input type="hidden" data-type name="liveMsgType" th:value="${sysConfig['contextTreeMap']['liveMsgType']}"/>
                                        <span class="btn btn-info btn-xs disabled" data-type="site" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['liveMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['liveMsgType'],'site')}">站内消息</span>
                                        <span class="btn btn-primary btn-xs disabled" data-type="wx" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['liveMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['liveMsgType'],'wx')}">微信消息</span>
                                        <!--<span class="btn btn-warning btn-xs disabled">短信消息</span>-->
                                        <a href="javascript:void(0);" th:attrprepend="data-type=${sysConfig['contextTreeMap']['liveMsgType']}" class="m-l update-msg-type-box">修改</a>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red"></i> 完成考试</label>
                                <div class="col-sm-9">
                                    <div class="input-group">
                                            <span class="input-group-addon">
                                                考试名称：【{1}】<input type="hidden" name="examVarNum1" value="考试名称：{1}"/>
                                                考试类型：【{2}】<input type="hidden" name="examVarNum2" value="考试类型：{2}"/>
                                            </span>
                                        <input type="text" class="form-control" name="examRemark" th:value="!${#strings.isEmpty(sysConfig['contextTreeMap']['examRemark'])}?${sysConfig['contextTreeMap']['examRemark']}:'您已完成试卷的考试'"/>
                                    </div>
                                    <div class="mt10 examMsgType">
                                        通知方式：
                                        <input type="hidden" data-type name="examMsgType" th:value="${sysConfig['contextTreeMap']['examMsgType']}"/>
                                        <span class="btn btn-info btn-xs disabled" data-type="site" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['examMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['examMsgType'],'site')}">站内消息</span>
                                        <span class="btn btn-primary btn-xs disabled" data-type="wx" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['examMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['examMsgType'],'wx')}">微信消息</span>
                                        <!--<span class="btn btn-warning btn-xs disabled">短信消息</span>-->
                                        <a href="javascript:void(0);" th:attrprepend="data-type=${sysConfig['contextTreeMap']['examMsgType']}" class="m-l update-msg-type-box">修改</a>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red"></i> 申请推广员成功消息</label>
                                <div class="col-sm-9">
                                    <div class="input-group">
                                            <span class="input-group-addon">
                                                用户名：【{1}】<input type="hidden" name="agentSuccessVarNum1" value="用户名：{1}"/>
                                                时间：【{2}】<input type="hidden" name="agentSuccessVarNum2" value="时间：{2}"/>
                                            </span>
                                        <input type="text" name="agentSuccessRemark" class="form-control" th:value="!${#strings.isEmpty(sysConfig['contextTreeMap']['agentSuccessRemark'])}?${sysConfig['contextTreeMap']['agentSuccessRemark']}:'恭喜您，您申请成为平台一级推广员已通过审核，快去个人中心-推广中心查看。'"/>
                                    </div>
                                    <div class="mt10 agentSuccessMsgType">
                                        通知方式：
                                        <input type="hidden" data-type name="agentSuccessMsgType" th:value="${sysConfig['contextTreeMap']['agentSuccessMsgType']}"/>
                                        <span class="btn btn-info btn-xs disabled" data-type="site" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['agentSuccessMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['agentSuccessMsgType'],'site')}">站内消息</span>
                                        <span class="btn btn-primary btn-xs disabled" data-type="wx" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['agentSuccessMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['agentSuccessMsgType'],'wx')}">微信消息</span>
                                        <!--<span class="btn btn-warning btn-xs disabled">短信消息</span>-->
                                        <a href="javascript:void(0);" th:attrprepend="data-type=${sysConfig['contextTreeMap']['agentSuccessMsgType']}" class="m-l update-msg-type-box">修改</a>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red"></i> 申请推广员未通过消息</label>
                                <div class="col-sm-9">
                                    <div class="input-group">
                                            <span class="input-group-addon">
                                                用户名：【{1}】<input type="hidden" name="agentErrorVarNum1" value="用户名：{1}"/>
                                                时间：【{2}】<input type="hidden" name="agentErrorVarNum2" value="时间：{2}"/>
                                            </span>
                                        <input type="text" class="form-control" name="agentErrorRemark" th:value="!${#strings.isEmpty(sysConfig['contextTreeMap']['agentErrorRemark'])}?${sysConfig['contextTreeMap']['agentErrorRemark']}:'对不起，您申请成为平台推广员未通过审核。如有疑问，请联系平台客服。'"/>
                                    </div>
                                    <div class="mt10 agentErrorMsgType">
                                        通知方式：
                                        <input type="hidden" data-type name="agentErrorMsgType" th:value="${sysConfig['contextTreeMap']['agentErrorMsgType']}"/>
                                        <span class="btn btn-info btn-xs disabled" data-type="site" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['agentErrorMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['agentErrorMsgType'],'site')}">站内消息</span>
                                        <span class="btn btn-primary btn-xs disabled" data-type="wx" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['agentErrorMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['agentErrorMsgType'],'wx')}">微信消息</span>
                                        <!--<span class="btn btn-warning btn-xs disabled">短信消息</span>-->
                                        <a href="javascript:void(0);" th:attrprepend="data-type=${sysConfig['contextTreeMap']['agentErrorMsgType']}" class="m-l update-msg-type-box">修改</a>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red"></i> 发布作业</label>
                                <div class="col-sm-9">
                                    <div class="input-group">
                                            <span class="input-group-addon">
                                                作业个数：【{1}】<input type="hidden" name="pushTaskVarNum1" value="作业个数：{1}"/>
                                                作业名称：【{2}】<input type="hidden" name="pushTaskVarNum2" value="作业名称：{2}"/>
                                            </span>
                                        <input type="text" class="form-control" name="pushTaskRemark" th:value="!${#strings.isEmpty(sysConfig['contextTreeMap']['pushTaskRemark'])}?${sysConfig['contextTreeMap']['pushTaskRemark']}:'发了新的作业了，快去完成吧~'"/>
                                    </div>
                                    <div class="mt10 pushTaskMsgType">
                                        通知方式：
                                        <input type="hidden" data-type name="pushTaskMsgType" th:value="${sysConfig['contextTreeMap']['pushTaskMsgType']}"/>
                                        <span class="btn btn-info btn-xs disabled" data-type="site" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['pushTaskMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['pushTaskMsgType'],'site')}">站内消息</span>
                                        <span class="btn btn-primary btn-xs disabled" data-type="wx" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['pushTaskMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['pushTaskMsgType'],'wx')}">微信消息</span>
                                        <!--<span class="btn btn-warning btn-xs disabled">短信消息</span>-->
                                        <a href="javascript:void(0);" th:attrprepend="data-type=${sysConfig['contextTreeMap']['pushTaskMsgType']}" class="m-l update-msg-type-box">修改</a>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red"></i> 完成试卷批阅</label>
                                <div class="col-sm-9">
                                    <div class="input-group">
                                            <span class="input-group-addon">
                                                考试名称：【{1}】<input type="hidden" name="finishExamVarNum1" value="考试名称：{1}"/>
                                                考试类型：【{2}】<input type="hidden" name="finishExamVarNum2" value="考试类型：{2}"/>
                                            </span>
                                        <input type="text" class="form-control" name="finishExamRemark" th:value="!${#strings.isEmpty(sysConfig['contextTreeMap']['finishExamRemark'])}?${sysConfig['contextTreeMap']['finishExamRemark']}:'您提交的试卷已批阅完成，快去个人中心-我的考试记录中查看结果吧~'"/>
                                    </div>
                                    <div class="mt10 finishExamMsgType">
                                        通知方式：
                                        <input type="hidden" data-type name="finishExamMsgType" th:value="${sysConfig['contextTreeMap']['finishExamMsgType']}"/>
                                        <span class="btn btn-info btn-xs disabled" data-type="site" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['finishExamMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['finishExamMsgType'],'site')}">站内消息</span>
                                        <span class="btn btn-primary btn-xs disabled" data-type="wx" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['finishExamMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['finishExamMsgType'],'wx')}">微信消息</span>
                                        <!--<span class="btn btn-warning btn-xs disabled">短信消息</span>-->
                                        <a href="javascript:void(0);" th:attrprepend="data-type=${sysConfig['contextTreeMap']['finishExamMsgType']}" class="m-l update-msg-type-box">修改</a>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red"></i> 问答已回复</label>
                                <div class="col-sm-9">
                                    <div class="input-group">
                                            <span class="input-group-addon">
                                                提问时间：【{1}】<input type="hidden" name="qaReplyVarNum1" value="提问时间：{1}"/>
                                                回复内容：【{2}】<input type="hidden" name="qaReplyVarNum2" value="回复内容：{2}"/>
                                            </span>
                                        <input type="text" class="form-control" name="qaReplyRemark" th:value="!${#strings.isEmpty(sysConfig['contextTreeMap']['qaReplyRemark'])}?${sysConfig['contextTreeMap']['qaReplyRemark']}:'问答已有回复，快去查看吧~'"/>
                                    </div>
                                    <div class="mt10 qaReplyMsgType">
                                        通知方式：
                                        <input type="hidden" data-type name="qaReplyMsgType" th:value="${sysConfig['contextTreeMap']['qaReplyMsgType']}"/>
                                        <span class="btn btn-info btn-xs disabled" data-type="site" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['qaReplyMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['qaReplyMsgType'],'site')}">站内消息</span>
                                        <span class="btn btn-primary btn-xs disabled" data-type="wx" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['qaReplyMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['qaReplyMsgType'],'wx')}">微信消息</span>
                                        <!--<span class="btn btn-warning btn-xs disabled">短信消息</span>-->
                                        <a href="javascript:void(0);" th:attrprepend="data-type=${sysConfig['contextTreeMap']['qaReplyMsgType']}" class="m-l update-msg-type-box">修改</a>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red"></i> 意见反馈消息</label>
                                <div class="col-sm-9">
                                    <div class="input-group">
                                            <span class="input-group-addon">
                                                反馈类型：【{1}】<input type="hidden" name="feedbackVarNum1" value="反馈类型：{1}"/>
                                                反馈回复：【{2}】<input type="hidden" name="feedbackVarNum2" value="反馈回复：{2}"/>
                                            </span>
                                        <input type="text" class="form-control" name="feedbackRemark" th:value="!${#strings.isEmpty(sysConfig['contextTreeMap']['feedbackRemark'])}?${sysConfig['contextTreeMap']['feedbackRemark']}:'学员您好，感谢您的意见反馈，我们已经收到并反馈您。请前去个人中心-我的消息中查看。'"/>
                                    </div>
                                    <div class="mt10 feedbackMsgType">
                                        通知方式：
                                        <input type="hidden" data-type name="feedbackMsgType" th:value="${sysConfig['contextTreeMap']['feedbackMsgType']}"/>
                                        <span class="btn btn-info btn-xs disabled" data-type="site" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['feedbackMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['feedbackMsgType'],'site')}">站内消息</span>
                                        <span class="btn btn-primary btn-xs disabled" data-type="wx" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['feedbackMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['feedbackMsgType'],'wx')}">微信消息</span>
                                        <!--<span class="btn btn-warning btn-xs disabled">短信消息</span>-->
                                        <a href="javascript:void(0);" th:attrprepend="data-type=${sysConfig['contextTreeMap']['feedbackMsgType']}" class="m-l update-msg-type-box">修改</a>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red"></i> 优惠券消息</label>
                                <div class="col-sm-9">
                                    <div class="input-group">
                                            <span class="input-group-addon">
                                                用户：【{1}】<input type="hidden" name="couponGiveVarNum1" value="用户：{1}"/>
                                                金额：【{2}】<input type="hidden" name="couponGiveVarNum2" value="金额：{2}"/>
                                                时间：【{3}】<input type="hidden" name="couponGiveVarNum3" value="时间：{3}"/>
                                            </span>
                                        <input type="text" class="form-control" name="couponGiveRemark" th:value="!${#strings.isEmpty(sysConfig['contextTreeMap']['couponGiveRemark'])}?${sysConfig['contextTreeMap']['couponGiveRemark']}:'学员您好，平台赠送您优惠券一张，请前去个人中心-优惠券与礼卡中查看'"/>
                                    </div>
                                    <div class="mt10 couponGiveMsgType">
                                        通知方式：
                                        <input type="hidden" data-type name="couponGiveMsgType" th:value="${sysConfig['contextTreeMap']['couponGiveMsgType']}"/>
                                        <span class="btn btn-info btn-xs disabled" data-type="site" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['couponGiveMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['couponGiveMsgType'],'site')}">站内消息</span>
                                        <span class="btn btn-primary btn-xs disabled" data-type="wx" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['couponGiveMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['couponGiveMsgType'],'wx')}">微信消息</span>
                                        <!--<span class="btn btn-warning btn-xs disabled">短信消息</span>-->
                                        <a href="javascript:void(0);" th:attrprepend="data-type=${sysConfig['contextTreeMap']['couponGiveMsgType']}" class="m-l update-msg-type-box">修改</a>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red"></i> 退费账户消息</label>
                                <div class="col-sm-9">
                                    <div class="input-group">
                                            <span class="input-group-addon">
                                                退费订单：【{1}】<input type="hidden" name="accountRefundVarNum1" value="退费订单：{1}"/>
                                                退费金额：【{2}】<input type="hidden" name="accountRefundVarNum2" value="退费金额：{2}"/>
                                                退费方式：【{3}】<input type="hidden" name="accountRefundVarNum3" value="退费方式：{3}"/>
                                                退费时间：【{4}】<input type="hidden" name="accountRefundVarNum4" value="退费时间：{4}"/>
                                            </span>
                                        <input type="text" class="form-control" name="accountRefundremark" th:value="!${#strings.isEmpty(sysConfig['contextTreeMap']['accountRefundremark'])}?${sysConfig['contextTreeMap']['accountRefundremark']}:'感谢您的支持。'"/>
                                    </div>
                                    <div class="mt10 accountRefundMsgType">
                                        通知方式：
                                        <input type="hidden" data-type name="accountRefundMsgType" th:value="${sysConfig['contextTreeMap']['accountRefundMsgType']}"/>
                                        <span class="btn btn-info btn-xs disabled" data-type="site" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['accountRefundMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['accountRefundMsgType'],'site')}">站内消息</span>
                                        <span class="btn btn-primary btn-xs disabled" data-type="wx" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['accountRefundMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['accountRefundMsgType'],'wx')}">微信消息</span>
                                        <!--<span class="btn btn-warning btn-xs disabled">短信消息</span>-->
                                        <a href="javascript:void(0);" th:attrprepend="data-type=${sysConfig['contextTreeMap']['accountRefundMsgType']}" class="m-l update-msg-type-box">修改</a>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red"></i> 提现账户消息</label>
                                <div class="col-sm-9">
                                    <div class="input-group">
                                            <span class="input-group-addon">
                                                提现结果：【{1}】<input type="hidden" name="accountCashVarNum1" value="提现结果：{1}"/>
                                                提现信息：【{2}】<input type="hidden" name="accountCashVarNum2" value="提现信息：{2}"/>
                                            </span>
                                        <input type="text" class="form-control" name="accountCashRemark" th:value="!${#strings.isEmpty(sysConfig['contextTreeMap']['accountCashRemark'])}?${sysConfig['contextTreeMap']['accountCashRemark']}:'感谢您的支持。'"/>
                                    </div>
                                    <div class="mt10 accountCashMsgType">
                                        通知方式：
                                        <input type="hidden" data-type name="accountCashMsgType" th:value="${sysConfig['contextTreeMap']['accountCashMsgType']}"/>
                                        <span class="btn btn-info btn-xs disabled" data-type="site" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['accountCashMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['accountCashMsgType'],'site')}">站内消息</span>
                                        <span class="btn btn-primary btn-xs disabled" data-type="wx" th:if="!${#strings.isEmpty(sysConfig['contextTreeMap']['accountCashMsgType'])} and ${#strings.contains(sysConfig['contextTreeMap']['accountCashMsgType'],'wx')}">微信消息</span>
                                        <!--<span class="btn btn-warning btn-xs disabled">短信消息</span>-->
                                        <a href="javascript:void(0);" th:attrprepend="data-type=${sysConfig['contextTreeMap']['accountCashMsgType']}" class="m-l update-msg-type-box">修改</a>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='EMAIL'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>服务邮箱配置 <small class="m-l-sm">服务邮箱号数据配置</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 服务邮箱账号</label>
                                <div class="col-sm-6">
                                    <input type="text" name="emailUsername" th:value="${sysConfig['contextTreeMap']['emailUsername']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 服务邮箱密码</label>
                                <div class="col-sm-6">
                                    <input type="text" name="emailPassword" th:value="${sysConfig['contextTreeMap']['emailPassword']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 服务邮箱协议</label>
                                <div class="col-sm-6">
                                    <input type="text" name="emailHost" th:value="${sysConfig['contextTreeMap']['emailHost']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 发送端口</label>
                                <div class="col-sm-6">
                                    <input type="text" name="port" th:value="${sysConfig['contextTreeMap']['port']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <!-- <div th:if="${sysConfig['configType']}=='SMS'" class="float-e-margins">
                     <div class="ibox-title">
                         <h5>服务短信配置 <small class="m-l-sm">创世云短信接口数据配置</small></h5>
                     </div>
                     <div class="ibox-content pt10">
                         <div class="form-horizontal">

                             <div class="form-group">
                                 <label class="col-sm-2 control-label text-right">
                                     <i class="c-red">*</i> AppKey</label>
                                 <div class="col-sm-6">
                                     <input type="text" name="AppKey" th:value="${sysConfig['contextTreeMap']['AppKey']}" class="form-control"/>
                                 </div>
                             </div>
                             <div class="hr-line-dashed"></div>

                             <div class="form-group">
                                 <label class="col-sm-2 control-label text-right">
                                     <i class="c-red">*</i> appSecret</label>
                                 <div class="col-sm-6">
                                     <input type="text" name="appSecret" th:value="${sysConfig['contextTreeMap']['appSecret']}" class="form-control"/>
                                 </div>
                             </div>
                             <div class="hr-line-dashed"></div>
                             <div class="form-group">
                                 <label class="col-sm-2 control-label text-right">
                                     <i class="c-red">*</i> appId</label>
                                 <div class="col-sm-6">
                                     <input type="text" name="appId" th:value="${sysConfig['contextTreeMap']['appId']}" class="form-control"/>
                                 </div>
                             </div>
                             <div class="hr-line-dashed"></div>
                         </div>
                     </div>
                 </div>-->
                <div th:if="${sysConfig['configType']}=='V96K'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>268云服务数据配置<small class="m-l-sm">268云服务数据配置</small></h5>
                    </div>
                    <div class="ibox-content">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i>手机号</label>
                                <div class="col-sm-6">
                                    <input type="text" name="userMobile" th:value="${sysConfig['contextTreeMap']['userMobile']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 录播 鉴权密钥</label>
                                <div class="col-sm-6">
                                    <input type="text" name="customerKey" th:value="${sysConfig['contextTreeMap']['customerKey']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 服务信息URL</label>
                                <div class="col-sm-6">
                                    <th:block th:if="${sysConfig['contextTreeMap']['serviceUrl']==''}">
                                        <input type="text" name="serviceUrl" th:value="${sysConfig['contextTreeMap']['serviceUrl']}" class="form-control"/>
                                    </th:block>
                                    <th:block th:if="${sysConfig['contextTreeMap']['serviceUrl']!=''}">
                                        <input type="text" name="serviceUrl" th:value="${sysConfig['contextTreeMap']['serviceUrl']}" class="form-control"/>
                                    </th:block>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 流量统计URL</label>
                                <div class="col-sm-6">
                                    <th:block th:if="${sysConfig['contextTreeMap']['serviceUseInfoUrl']==''}">
                                        <input type="text" name="serviceUseInfoUrl" th:value="${sysConfig['contextTreeMap']['serviceUseInfoUrl']}" class="form-control"/>
                                    </th:block>
                                    <th:block th:if="${sysConfig['contextTreeMap']['serviceUseInfoUrl']!=''}">
                                        <input type="text" name="serviceUseInfoUrl" th:value="${sysConfig['contextTreeMap']['serviceUseInfoUrl']}" class="form-control"/>
                                    </th:block>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 创建直播URL</label>
                                <div class="col-sm-6">
                                    <th:block th:if="${sysConfig['contextTreeMap']['createLiveUrl']==''}">
                                        <input type="text" name="createLiveUrl" th:value="${sysConfig['contextTreeMap']['createLiveUrl']}" class="form-control"/>
                                    </th:block>
                                    <th:block th:if="${sysConfig['contextTreeMap']['createLiveUrl']!=''}">
                                        <input type="text" name="createLiveUrl" th:value="${sysConfig['contextTreeMap']['createLiveUrl']}" class="form-control"/>
                                    </th:block>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 创建录播URL</label>
                                <div class="col-sm-6">
                                    <th:block th:if="${sysConfig['contextTreeMap']['createVideoUrl']==''}">
                                        <input type="text" name="createVideoUrl" th:value="${sysConfig['contextTreeMap']['createVideoUrl']}" class="form-control"/>
                                    </th:block>
                                    <th:block th:if="${sysConfig['contextTreeMap']['createVideoUrl']!=''}">
                                        <input type="text" name="createVideoUrl" th:value="${sysConfig['contextTreeMap']['createVideoUrl']}" class="form-control"/>
                                    </th:block>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 批量上传音频/视频URL</label>
                                <div class="col-sm-6">
                                    <th:block th:if="${sysConfig['contextTreeMap']['batchCreateVideoUrl']==''}">
                                        <input type="text" name="batchCreateVideoUrl" th:value="${sysConfig['contextTreeMap']['batchCreateVideoUrl']}" class="form-control"/>
                                    </th:block>
                                    <th:block th:if="${sysConfig['contextTreeMap']['batchCreateVideoUrl']!=''}">
                                        <input type="text" name="batchCreateVideoUrl" th:value="${sysConfig['contextTreeMap']['batchCreateVideoUrl']}" class="form-control"/>
                                    </th:block>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 直播回放接口URL</label>
                                <div class="col-sm-6">
                                    <th:block th:if="${sysConfig['contextTreeMap']['playback']==''}">
                                        <input type="text" name="playback" th:value="${sysConfig['contextTreeMap']['playback']}" class="form-control"/>
                                    </th:block>
                                    <th:block th:if="${sysConfig['contextTreeMap']['playback']!=''}">
                                        <input type="text" name="playback" th:value="${sysConfig['contextTreeMap']['playback']}" class="form-control"/>
                                    </th:block>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 删除录播接口URL</label>
                                <div class="col-sm-6">
                                    <th:block th:if="${sysConfig['contextTreeMap']['deleteVideo']==''}">
                                        <input type="text" name="deleteVideo" th:value="${sysConfig['contextTreeMap']['deleteVideo']}" class="form-control"/>
                                    </th:block>
                                    <th:block th:if="${sysConfig['contextTreeMap']['deleteVideo']!=''}">
                                        <input type="text" name="deleteVideo" th:value="${sysConfig['contextTreeMap']['deleteVideo']}" class="form-control"/>
                                    </th:block>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 关闭直播接口URL</label>
                                <div class="col-sm-6">
                                    <th:block th:if="${sysConfig['contextTreeMap']['close']==''}">
                                        <input type="text" name="close" th:value="${sysConfig['contextTreeMap']['close']}" class="form-control"/>
                                    </th:block>
                                    <th:block th:if="${sysConfig['contextTreeMap']['close']!=''}">
                                        <input type="text" name="close" th:value="${sysConfig['contextTreeMap']['close']}" class="form-control"/>
                                    </th:block>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 录播播放器JS URL</label>
                                <div class="col-sm-6">
                                    <th:block th:if="${sysConfig['contextTreeMap']['player']==''}">
                                        <input type="text" name="player" th:value="${sysConfig['contextTreeMap']['player']}" class="form-control"/>
                                    </th:block>
                                    <th:block th:if="${sysConfig['contextTreeMap']['player']!=''}">
                                        <input type="text" name="player" th:value="${sysConfig['contextTreeMap']['player']}" class="form-control"/>
                                    </th:block>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 录播列表接口URL</label>
                                <div class="col-sm-6">
                                    <th:block th:if="${sysConfig['contextTreeMap']['demand']==''}">
                                        <input type="text" name="demand" th:value="${sysConfig['contextTreeMap']['demand']}" class="form-control"/>
                                    </th:block>
                                    <th:block th:if="${sysConfig['contextTreeMap']['demand']!=''}">
                                        <input type="text" name="demand" th:value="${sysConfig['contextTreeMap']['demand']}" class="form-control"/>
                                    </th:block>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 直播列表接口URL</label>
                                <div class="col-sm-6">
                                    <th:block th:if="${sysConfig['contextTreeMap']['live']==''}">
                                        <input type="text" name="live" th:value="${sysConfig['contextTreeMap']['live']}" class="form-control"/>
                                    </th:block>
                                    <th:block th:if="${sysConfig['contextTreeMap']['live']!=''}">
                                        <input type="text" name="live" th:value="${sysConfig['contextTreeMap']['live']}" class="form-control"/>
                                    </th:block>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 客户端直播接口URL</label>
                                <div class="col-sm-6">
                                    <th:block th:if="${sysConfig['contextTreeMap']['client']==''}">
                                        <input type="text" name="client" th:value="${sysConfig['contextTreeMap']['client']}" class="form-control"/>
                                    </th:block>
                                    <th:block th:if="${sysConfig['contextTreeMap']['client']!=''}">
                                        <input type="text" name="client" th:value="${sysConfig['contextTreeMap']['client']}" class="form-control"/>
                                    </th:block>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 浏览器直播接口URL</label>
                                <div class="col-sm-6">
                                    <th:block th:if="${sysConfig['contextTreeMap']['browser']==''}">
                                        <input type="text" name="browser" th:value="${sysConfig['contextTreeMap']['browser']}" class="form-control"/>
                                    </th:block>
                                    <th:block th:if="${sysConfig['contextTreeMap']['browser']!=''}">
                                        <input type="text" name="browser" th:value="${sysConfig['contextTreeMap']['browser']}" class="form-control"/>
                                    </th:block>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='SERVICE'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>客服系统链接配置 <small class="m-l-sm">第三方客服链接配置，如：腾讯企点等链接</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i>客服类型</label>
                                <div class="col-sm-6">
                                    <select name="type" id="video-type" class="chosen-select" style="width: 100%;">
                                        <option th:selected="${sysConfig['contextTreeMap']['type']}=='' or ${sysConfig['contextTreeMap']['type']}==null or ${sysConfig['contextTreeMap']['type']}==1" value="1">第三方客服链接</option>
                                        <option th:selected="${sysConfig['contextTreeMap']['type']}==2" value="2">客服电话</option>
                                    </select>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 内容</label>
                                <div class="col-sm-6">
                                    <input type="text" name="context" th:value="${sysConfig['contextTreeMap']['context']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='PAY'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>支付系统对接配置 <small class="m-l-sm">支付宝、微信支付数据配置</small></h5>
                    </div>
                    <div class="ibox-content clearfix pt10">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right mt10">支付宝</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input type="checkbox" name="alipayStatus" th:checked="${sysConfig['contextTreeMap']['alipayStatus']}=='on'" checked class="onoffswitch-checkbox" id="aliapy">
                                                <label class="onoffswitch-label" for="aliapy">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启：开启后平台可配置使用支付宝功能；OFF=关闭：关闭后不可使用</small>
                                                </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <!--关闭后下面div 整个隐藏不可见-->
                            <div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label text-right">合作者身份（PID）</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" name="alipaypartnerID" type="text" th:value="${sysConfig['contextTreeMap']['alipaypartnerID']}"/>
                                        <span class="help-block m-b-none c-999">支付宝平台合作者身份ID</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label text-right">ES密钥</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" type="text" name="alipayKey" th:value="${sysConfig['contextTreeMap']['alipayKey']}"/>
                                        <span class="help-block m-b-none c-999">支付宝的AES密钥</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label text-right">商家邮箱</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" type="text" name="sellerEmail" th:value="${sysConfig['contextTreeMap']['sellerEmail']}"/>
                                        <span class="help-block m-b-none c-999">支付宝平台商家登录的邮箱号</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label text-right">支付宝公钥</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" type="text" name="publicKey" th:value="${sysConfig['contextTreeMap']['publicKey']}"/>
                                        <span class="help-block m-b-none c-999">支付宝开放平台的支付宝公钥</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label text-right">RSA私钥</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" type="text" name="privateKey" th:value="${sysConfig['contextTreeMap']['privateKey']}"/>
                                        <span class="help-block m-b-none c-999">RSA私钥数据</span>
                                    </div>
                                </div>
                                <div class="hr-line-dashed"></div>
                            </div>
                            <!--关闭后上面div 整个隐藏不可见-->

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right mt10">微信支付</label>
                                <div class="col-sm-6">
                                    <div style="margin-top: 5px">
                                        <div class="switch">
                                            <div class="onoffswitch">
                                                <input type="checkbox" name="weixinStatus" th:checked="${sysConfig['contextTreeMap']['weixinStatus']}=='on'" class="onoffswitch-checkbox" id="weixin">
                                                <label class="onoffswitch-label" for="weixin">
                                                    <span class="onoffswitch-inner"></span>
                                                    <span class="onoffswitch-switch"></span>
                                                </label>
                                            </div>
                                            <span>
                                                    <small class="fs12 c-999">说明：ON=开启：开启后平台可配置使用微信功能；OFF=关闭：关闭后不可使用</small>
                                                </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <!--关闭后下面div 整个隐藏不可见-->
                            <div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label text-right">公众账号APPID</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" type="text" name="appid" th:value="${sysConfig['contextTreeMap']['appid']}"/>
                                        <span class="help-block m-b-none c-999">微信公众账号中的APPID</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label text-right">微信公众平台商户号</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" type="text" name="mch_id" th:value="${sysConfig['contextTreeMap']['mch_id']}"/>
                                        <span class="help-block m-b-none c-999">微信公众号平台生成的商户号</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label text-right">公众号AppSecret</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" type="text" name="appSecret" th:value="${sysConfig['contextTreeMap']['appSecret']}"/>
                                        <span class="help-block m-b-none c-999">微信公众号的secret</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label text-right">微信商户号支付密钥</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" type="text" name="payKey" th:value="${sysConfig['contextTreeMap']['payKey']}"/>
                                        <span class="help-block m-b-none c-999">关联公众号的微信商户号支付密钥</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label text-right">开放平台商户号</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" type="text" name="openMchId" th:value="${sysConfig['contextTreeMap']['openMchId']}"/>
                                        <span class="help-block m-b-none c-999">微信开放平台中的商户号</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label text-right">开放平台移动应用APPID</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" type="text" name="openAppAppId" th:value="${sysConfig['contextTreeMap']['openAppAppId']}"/>
                                        <span class="help-block m-b-none c-999">微信开放平台移动应用APPID</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label text-right">微信商户号支付密钥</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" type="text" name="openPayKey" th:value="${sysConfig['contextTreeMap']['openPayKey']}"/>
                                        <span class="help-block m-b-none c-999">关联微信开发平台的微信商户号支付密钥</span>
                                    </div>
                                </div>
                                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label text-right">微信小程序APPID</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" type="text" name="applyAppId" th:value="${sysConfig['contextTreeMap']['applyAppId']}"/>
                                        <span class="help-block m-b-none c-999">微信小程序APPID</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label text-right">微信小程序secret</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" type="text" name="applyAppSecret" th:value="${sysConfig['contextTreeMap']['applyAppSecret']}"/>
                                        <span class="help-block m-b-none c-999">微信小程序AppSecret</span>
                                    </div>
                                </div>
                                <div class="hr-line-dashed"></div>
                            </div>
                        </div>
                    </div>
                </div>
                <div  th:if="${sysConfig['configType']}=='LIVETIME'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>修改待办事项提前进入直播时间</h5>
                    </div>
                    <div class="ibox-content">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red">*</i> 时间</label>
                                <div class="col-sm-6">
                                    <div class="radio i-checks">
                                        <label>
                                            <input type="radio" value="15" name="liveTime" th:checked="${sysConfig['contextTreeMap']['liveTime']}==15?'true':'false'"><i></i> 15分钟
                                        </label>
                                        <label>
                                            <input type="radio" value="30" name="liveTime" th:checked="${sysConfig['contextTreeMap']['liveTime']}==30?'true':'false'"><i></i> 30分钟
                                        </label>
                                        <label>
                                            <input type="radio" value="45" name="liveTime" th:checked="${sysConfig['contextTreeMap']['liveTime']}==45?'true':'false'"><i></i> 45分钟
                                        </label>

                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='COUNTCODE'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>第三方统计代码 <small class="m-l-sm">第三方统计代码配置</small></h5>
                    </div>
                    <div class="ibox-content pt10">

                        <div class="form-horizontal">

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 是否开启第三方统计</label>
                                <div class="col-sm-6">
                                    <div class="switch">
                                        <div class="onoffswitch">
                                            <input type="checkbox" th:checked="${sysConfig['contextTreeMap']['statisticsOnOffSwitch']}=='ON'" name="statisticsOnOffSwitch" class="onoffswitch-checkbox" id="example12">
                                            <label class="onoffswitch-label" for="example12">
                                                <span class="onoffswitch-inner"></span>
                                                <span class="onoffswitch-switch"></span>
                                            </label>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="form-group selectStatistics" th:classappend="${sysConfig['contextTreeMap']['statisticsOnOffSwitch']}=='ON'?'':'hide'">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 选择第三方统计</label>
                                <div class="col-sm-6">
                                    <div class="radio i-checks">
                                        <label>
                                            <input type="radio" value="1" name="statisticsSwitch" th:checked="${sysConfig['contextTreeMap']['statisticsSwitch']}==1?'true':'false'"><i></i> 百度统计
                                        </label>
                                        <label>
                                            <input type="radio" value="2" name="statisticsSwitch" th:checked="${sysConfig['contextTreeMap']['statisticsSwitch']}==2?'true':'false'"><i></i> 腾讯分析
                                        </label>
                                        <label>
                                            <input type="radio" value="3" name="statisticsSwitch" th:checked="${sysConfig['contextTreeMap']['statisticsSwitch']}==3?'true':'false'"><i></i> CNZZ
                                        </label>
                                        <label>
                                            <input type="radio" value="4" name="statisticsSwitch" th:checked="${sysConfig['contextTreeMap']['statisticsSwitch']}==4?'true':'false'"><i></i> 谷歌分析
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group mateParams" th:classappend="${sysConfig['contextTreeMap']['statisticsOnOffSwitch']}=='ON'?'':'hide'">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 对应配置参数</label>
                                <div class="col-sm-6">
                                    <input type="hidden" id="statisticsId" th:value="${sysConfig['contextTreeMap']['statisticsSwitch']}"/>
                                    <input type="hidden" id="mateCodeId" th:value="${sysConfig['contextTreeMap']['mateCode']}"/>
                                    <div class="input-group ">
                                        <span class="input-group-addon mateText" th:text="${sysConfig['contextTreeMap']['statisticsSwitch']}==4?'UA- = ':(${sysConfig['contextTreeMap']['statisticsSwitch']}==3 ? 'id = ':(${sysConfig['contextTreeMap']['statisticsSwitch']}==2 ? 'sId = ':(${sysConfig['contextTreeMap']['statisticsSwitch']}==1 ? 'hm.src = ':'')))" ></span>
                                        <input type="text" name="matecode" th:value="${sysConfig['contextTreeMap']['mateCode']}" class="form-control">
                                    </div>
                                </div>
                            </div>
                            <div class="form-group showCode" th:classappend="${sysConfig['contextTreeMap']['statisticsOnOffSwitch']}=='ON'?'':'hide'">
                                <label class="col-sm-2 control-label text-right">
                                    统计代码预览</label>
                                <div class="col-sm-8">
                                        <textarea placeholder="百度统计预览" readonly name="code" aria-required="true" class="form-control baiduConfig" th:classappend="${sysConfig['contextTreeMap']['statisticsSwitch']}==1?'':'hide'">
                                            <script>
                                                var _hmt = _hmt || [];
                                                (function(){
                                                    var hm = document.createElement("script");
                                                    hm.src = "//hm.baidu.com/hm.js?参数配置";
                                                    var s = document.getElementsByTagName("script")[0];
                                                    s.parentNode.insertBefore(hm, s);
                                                })();
                                            </script>
                                        </textarea>
                                    <textarea placeholder="腾讯分析预览" readonly name="code" aria-required="true" class="form-control tencentConfig" th:classappend="${sysConfig['contextTreeMap']['statisticsSwitch']}==2?'':'hide'">
                                            <script type="text/javascript" src="http://tajs.qq.com/stats?sId=参数配置" charset="UTF-8"></script>
                                        </textarea>
                                    <textarea placeholder="CNZZ代码预览" readonly name="code" aria-required="true" class="form-control cnzzConfig" th:classappend="${sysConfig['contextTreeMap']['statisticsSwitch']}==3?'':'hide'">
                                            <script type="text/javascript">
                                                var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
                                                document.write(unescape("%3Cspan id='cnzz_stat_icon_参数配置'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/z_stat.php%3Fid%3D1257041520' type='text/javascript'%3E%3C/script%3E"));
                                                </script>
                                        </textarea>
                                    <textarea placeholder="谷歌分析预览" readonly name="code" aria-required="true" class="form-control googleConfig" th:classappend="${sysConfig['contextTreeMap']['statisticsSwitch']}==4?'':'hide'">
                                            <script>
                                                (function(i, s, o, g, r, a, m) {
                                                    i['GoogleAnalyticsObject'] = r;
                                                    i[r] = i[r] ||
                                                        function() { (i[r].q = i[r].q || []).push(arguments)
                                                        },	i[r].l = 1 * new Date();
                                                    a = s.createElement(o),
                                                        m = s.getElementsByTagName(o)[0];
                                                    a.async = 1;
                                                    a.src = g;
                                                    m.parentNode.insertBefore(a, m)
                                                })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
                                                ga('create', '参数配置', 'auto');
                                                ga('send', 'pageview');
                                                </script>
                                        </textarea>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='WEIXINAPP'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>小程序数据配置 <small class="m-l-sm">小程序数据配置</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 小程序AppId</label>
                                <div class="col-sm-6">
                                    <input type="text" name="appId" th:value="${sysConfig['contextTreeMap']['appId']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 小程序secret</label>
                                <div class="col-sm-6">
                                    <input type="text" name="secret" th:value="${sysConfig['contextTreeMap']['secret']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='QQLOGIN'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>QQ关联登录配置 <small class="m-l-sm">QQ关联登录数据配置</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> QQ互联平台应用appId</label>
                                <div class="col-sm-6">
                                    <input type="text" name="appId" th:value="${sysConfig['contextTreeMap']['appId']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> QQ互联平台应用appKey</label>
                                <div class="col-sm-6">
                                    <input type="text" name="appKey" th:value="${sysConfig['contextTreeMap']['appKey']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> PC回调路径</label>
                                <div class="col-sm-6">
                                    <input type="text" name="pcUrl" th:value="${sysConfig['contextTreeMap']['pcUrl']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> H5回调路径</label>
                                <div class="col-sm-6">
                                    <input type="text" name="mobileUrl" th:value="${sysConfig['contextTreeMap']['mobileUrl']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='WXLOGIN'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>微信关联登录配置 <small class="m-l-sm">微信关联登录数据配置</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 微信公众平台appId</label>
                                <div class="col-sm-6">
                                    <input type="text" name="appId" th:value="${sysConfig['contextTreeMap']['appId']}" class="form-control"/>
                                    <span class="help-block m-b-none c-999">用于微信内置浏览器登录</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 微信公众平台secret</label>
                                <div class="col-sm-6">
                                    <input type="text" name="appSecret" th:value="${sysConfig['contextTreeMap']['appSecret']}" class="form-control"/>
                                    <span class="help-block m-b-none c-999">用于微信内置浏览器登录</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 微信开放平台PC应用appId</label>
                                <div class="col-sm-6">
                                    <input type="text" name="pcOpenAppId" th:value="${sysConfig['contextTreeMap']['pcOpenAppId']}" class="form-control"/>
                                    <span class="help-block m-b-none c-999">用于PC端微信扫码登录</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 微信开放平台PC应用secret</label>
                                <div class="col-sm-6">
                                    <input type="text" name="pcOpenSecret" th:value="${sysConfig['contextTreeMap']['pcOpenSecret']}" class="form-control"/>
                                    <span class="help-block m-b-none c-999">用于PC端微信扫码登录</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <!--<div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 微信开放平台Admin应用appId</label>
                                <div class="col-sm-6">
                                    <input type="text" name="adminOpenAppId" th:value="${sysConfig['contextTreeMap']['adminOpenAppId']}" class="form-control"/>
                                    <span class="help-block m-b-none c-999">用于Admin端微信扫码登录(主要用于后台微信提现)</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 微信开放平台Admin应用secret</label>
                                <div class="col-sm-6">
                                    <input type="text" name="adminOpenSecret" th:value="${sysConfig['contextTreeMap']['adminOpenSecret']}" class="form-control"/>
                                    <span class="help-block m-b-none c-999">用于Admin端微信扫码登录(主要用于后台微信提现)</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>-->
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> PC回调路径</label>
                                <div class="col-sm-6">
                                    <input type="text" name="pcUrl" th:value="${sysConfig['contextTreeMap']['pcUrl']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> H5回调路径</label>
                                <div class="col-sm-6">
                                    <input type="text" name="mobileUrl" th:value="${sysConfig['contextTreeMap']['mobileUrl']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='PROTOCOL'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>用户注册协议 <small class="m-l-sm">用户注册协议配置</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 用户注册协议内容</label>
                                <div class="col-sm-10">
                                    <textarea placeholder="用户注册协议内容" id="protocol-context" name="content" aria-required="true" class="form-control" th:text="${sysConfig['contextTreeMap']['content']}"></textarea>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>

                <div th:if="${sysConfig['configType']}=='PIVACY'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>用户隐私协议 <small class="m-l-sm">用户隐私协议配置</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 用户隐私协议内容</label>
                                <div class="col-sm-10">
                                    <textarea placeholder="用户隐私协议内容" id="protocol-context" name="content" aria-required="true" class="form-control" th:text="${sysConfig['contextTreeMap']['content']}"></textarea>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='VERSION'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>系统静态文件版本号配置 <small class="m-l-sm">设置系统静态文件版本号</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">

                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right"><i class="c-red">*</i> 版本号</label>
                                <div class="col-sm-5">
                                    <input type="text" name="version" readonly="readonly" th:value="${sysConfig['contextTreeMap']['version']}" class="form-control"/>
                                </div>
                                <div class="col-sm-2">
                                    <a id="update-version" href="javascript:void(0);" data-original-title="刷新版本号" title="刷新版本号" data-placement="top" data-toggle="tooltip" class="btn btn-white">
                                        <i class="fa fa-refresh"></i> 刷新
                                    </a>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='VLASPROVIDER'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>视频、音频、直播服务配置 <small class="m-l-sm">服务商类型数据配置</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">选择服务商</label>
                                <div class="col-sm-6">
                                    <select name="type" id="video-type" class="chosen-select" style="width: 100%;">
                                        <option th:selected="${sysConfig['contextTreeMap']['type']}=='CC'" value="CC">268云直播</option>
                                        <option th:selected="${sysConfig['contextTreeMap']['type']}=='TT'" value="TT">268云中课堂</option>
                                    </select>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                        <div class="form-horizontal" th:classappend="${sysConfig['contextTreeMap']['type']}=='CC'?'':'hide'" id="cc-server">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">新云服务 appID</label>
                                <div class="col-sm-6">
                                    <input type="text" name="ccAppId" th:value="${sysConfig['contextTreeMap']['ccAppId']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group hide">
                                <label class="col-sm-2 control-label text-right">新云服务录播appKEY</label>
                                <div class="col-sm-6">
                                    <input type="text" name="ccAppKey" th:value="${sysConfig['contextTreeMap']['ccAppKey']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed hide"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">新云服务直播appKEY</label>
                                <div class="col-sm-6">
                                    <input type="text" name="liveAppKey" th:value="${sysConfig['contextTreeMap']['liveAppKey']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                        <div class="form-horizontal" th:classappend="${sysConfig['contextTreeMap']['type']}=='TT'?'':'hide'" id="tt-server">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">账号</label>
                                <div class="col-sm-6">
                                    <input type="text" name="account" th:value="${sysConfig['contextTreeMap']['account']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">密码</label>
                                <div class="col-sm-6">
                                    <input type="text" name="pwd" th:value="${sysConfig['contextTreeMap']['pwd']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">SID</label>
                                <div class="col-sm-6">
                                    <input type="text" name="sid" th:value="${sysConfig['contextTreeMap']['sid']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">safeKey</label>
                                <div class="col-sm-6">
                                    <input type="text" name="safeKey" th:value="${sysConfig['contextTreeMap']['safeKey']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='INITID'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5> <small class="m-l-sm">平台ID初始化</small></h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 平台ID初始化</label>
                                <div class="col-sm-6">
                                    <div class="input-group m-b">
                                        <input type="number" name="initNum" th:readonly="${sysConfig['contextTreeMap']['initNum']}!='' and ${sysConfig['contextTreeMap']['initNum']}!=null" th:value="${sysConfig['contextTreeMap']['initNum']}" class="form-control"/>
                                    </div>
                                    <span>
                                                <small class="fs12 c-999">说明：初始值必须大于4000,初始化后不可修改</small>
                                         </span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div th:if="${sysConfig['configType']}=='COURSESERVICE'" class="float-e-margins">
                    <div class="ibox-title">
                        <h5>平台服务的配置</h5>
                    </div>
                    <div class="ibox-content">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 课程服务</label>
                                <div class="col-sm-6">
                                    <input type="text" name="serviceCourseContent" th:value="${sysConfig['contextTreeMap']['serviceCourseContent']}" class="form-control"/>
                                    <span class="help-block m-b-none c-999">用于课程服务的展示,使用英文,号隔开，最多添加3个，每个关键字不能超过6个字符</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                </div>
                <div class="ibox float-e-margins">
                    <div class="ibox-content pt10" style="border-style:none;">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label text-right">
                                    <i class="c-red">*</i> 配置内容说明</label>
                                <div class="col-sm-6">
                                    <input type="text" name="depict" th:value="${sysConfig['depict']}" class="form-control"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-3">
                                    <input type="hidden" name="id" th:value="${sysConfig['id']}"/>
                                    <input type="hidden" name="configType" th:value="${sysConfig['configType']}"/>
                                    <button class="btn btn-danger" id="saveConfig" type="button">保存配置</button>
                                    <button class="btn btn-white ml10" type="button" th:onclick="'window.location.href=baseloaction+\'/admin/manage/config/configList?funType='+${sysConfig['funType']}+'\''">取消</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div data-th-replace="common/importantNotes"></div>
        </form>
    </div>
</div>
<input type="hidden" id="funType" th:value="${sysConfig['funType']}"/>
<div data-th-replace="layout/head-footer"></div>
<script type="text/javascript" th:src="@{{path}/admin/business/upload/common-webuploader.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/common/summernote/summernote.min.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/admin/business/manage/config/update-config.js?v={v}(path=${staticPath},v=${v})}"></script>
</body>
</html>